package com.sheng.project.study.springaop;

/**
 * @author liusheng
 * @date 2023/06/30
 */
public class UserService {

    public void work(String userName) {
        try {
            int i = 1 / 0;
        } catch (RuntimeException e) {
            throw new RuntimeException(e);
        }
        System.out.println(userName + ",正在和柳圣一起学 Spring Aop，欢迎大家一起来！");
    }
}
